<template>
    <div>
       详情--{{id}}
    </div>
</template>

<script>
export default {
  props: ['id'],
  mounted() {
    console.log('要id获取详情信息', this.$route.params.id)
  }
}
</script>
